package com.lam.common.components.dict.model;

public class DictDefaultModel implements DictModel{
	
	/** 字典值 */
	private String value;
	/** 字典标签 */
	private String text;
	
	public DictDefaultModel() {}
	
	public DictDefaultModel(DictModel dictModel) {
		this.value = dictModel.getValue();
		this.text = dictModel.getText();
	}
	
	public DictDefaultModel(String value, String text) {
		this.value = value;
		this.text = text;
	}
	
	@Override
	public String getValue() {
		return value;
	}
	public void setDictValue(String value) {
		this.value = value;
	}
	
	@Override
	public String getText() {
		return text;
	}
	public void setDictLabel(String text) {
		this.text = text;
	}
	

}
